package com.miyang.dao;

import com.miyang.entity.UserEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by shijin.huang on 2019/2/19
 */
@Repository
public interface UserDao {
    // getUser 和映射文件中定义的查询SQL 的id 是保持一致的,参数也是
    UserEntity getUser(Long id);

    void inserUser(UserEntity userEntity);
}
